package org.hbbTlias2025;


import com.example.HeaderParser;
import com.example.TokenParser;
import com.google.gson.Gson;
import org.hbbTlias2025.pojo.Result;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

//@Slf4j
@SpringBootTest
public class testBeanGson {

    @Autowired
    private Gson gson;


    @Test
    public void testGson() {
        System.out.println(gson.toJson(Result.success()));
    }

    @Autowired
    private TokenParser tokenParser;

    @Test
    public void testTokenParser() {
        tokenParser.parse();
    }

    @Autowired
    private HeaderParser headerParser;
    @Test
    public void testHeaderParser() {
        headerParser.parse();
    }
}
